

const currentTime = (new Date()).getTime()
const globalData = uni.getStorageSync("globalData")

//微信：
// 金熊猫旅行---GPTravelWechat2C
// 乐派网---LepaiTravelWechat2C
let platform
// switch (StoreId) {
//     case 16:
//         platform = 'GPTravelWechat2C'
//         break;
//     case 25: 
//         platform = 'LepaiTravelWechat2C'
//         break;
//     case 8: 
//         platform = 'SLTravelWechat2C'
//         break;
//     case 45: 
//         platform = 'SdydTravelWechat2C'
//         break;
//     case 46: 
//         platform = 'YunnanholidayWechat2C'
//         break;
//     case 62: 
//         platform = 'hunanshilvWechat2C'
//         break;
//     default:
//     platform = ''
//     break;
// }
import getPlatform from './platformUtils.js';
platform = getPlatform();
// //	#ifdef H5
platform = 'HuanmengApp2C'
// //	#endif
const pointData = {
    //公共字段
    common: globalData.common,
    currentTime,
    events: [
        //事件
        {
            "client_event_time": "",//客户端时间产生时间戳
            "event_id": "",//事件id
            "event_type": "",//事件类型
            "spm_cnt": "",//点击位置
            "spm_ref": "",//上级页面点击位置
            "spm_pre": "", //上上级点击位置
            "args": {}
        }

    ],
    platform
};
export default pointData;
